.class public Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:I

.field private b:Landroid/widget/ImageView;

.field private c:Landroid/widget/ImageView;

.field private d:Landroid/widget/ImageView;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    const/4 v0, 0x0

    iput v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->a:I

    return-void
.end method

.method private a()V
    .locals 4

    const/16 v3, 0x8

    const v0, 0x7f0c0650

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0652

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f080825

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0654

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setVisibility(I)V

    const v0, 0x7f0c0614

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0616

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->e:Landroid/widget/TextView;

    const v0, 0x7f0c0615

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->b:Landroid/widget/ImageView;

    const v0, 0x7f0c0617

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0619

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->f:Landroid/widget/TextView;

    const v0, 0x7f0c0618

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->c:Landroid/widget/ImageView;

    const v0, 0x7f0c061b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v1, 0x7f0c061d

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->g:Landroid/widget/TextView;

    const v1, 0x7f0c061c

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->d:Landroid/widget/ImageView;

    const-string/jumbo v1, "0"

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    invoke-virtual {v2, p0}, Lcom/waiqin365/base/login/mainview/a;->a(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    const v1, 0x7f0c061a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "index"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->a:I

    iget v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->a:I

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->b(I)V

    return-void
.end method

.method private b(I)V
    .locals 6

    const/4 v5, 0x0

    const/16 v4, 0x8

    const/16 v3, 0x1a

    const/16 v2, 0x80

    iget v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->a:I

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->e:Landroid/widget/TextView;

    invoke-static {v3, v3, v3}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->f:Landroid/widget/TextView;

    invoke-static {v2, v2, v2}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->g:Landroid/widget/TextView;

    invoke-static {v2, v2, v2}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->b:Landroid/widget/ImageView;

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->d:Landroid/widget/ImageView;

    invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->a:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->e:Landroid/widget/TextView;

    invoke-static {v2, v2, v2}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->f:Landroid/widget/TextView;

    invoke-static {v3, v3, v3}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->g:Landroid/widget/TextView;

    invoke-static {v2, v2, v2}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->b:Landroid/widget/ImageView;

    invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->d:Landroid/widget/ImageView;

    invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_0

    :cond_2
    iget v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->a:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->e:Landroid/widget/TextView;

    invoke-static {v2, v2, v2}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->f:Landroid/widget/TextView;

    invoke-static {v2, v2, v2}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->g:Landroid/widget/TextView;

    invoke-static {v3, v3, v3}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->b:Landroid/widget/ImageView;

    invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->d:Landroid/widget/ImageView;

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_0
.end method


# virtual methods
.method public a(I)V
    .locals 3

    iput p1, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->a:I

    iget v0, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->a:I

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->b(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "index"

    iget v2, p0, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->a:I

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const/16 v1, 0x28

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->back()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->back()V

    goto :goto_0

    :sswitch_1
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->a(I)V

    goto :goto_0

    :sswitch_2
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->a(I)V

    goto :goto_0

    :sswitch_3
    const/4 v0, 0x2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->a(I)V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0614 -> :sswitch_1
        0x7f0c0617 -> :sswitch_2
        0x7f0c061b -> :sswitch_3
        0x7f0c0650 -> :sswitch_0
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->requestWindowFeature(I)Z

    const v0, 0x7f030102

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;->a()V

    return-void
.end method
